package counter.com.common;

import counter.com.configuration.LoudongConfiguration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashSet;
import java.util.List;

public class StoreManager {

    public static boolean checkUrlHighLevel(LoudongConfiguration configuration, String url) {
        List<String> list = configuration.getViewhighbugurl();
        for (String str : list) {
            if (str.equals(url)) {
                return true;
            }
        }
        return false;
    }
}
